#include <windows.h>
#include "CBazaarMessagePacket.h"
#include "CChar.h"

CBazaarMessagePacket::CBazaarMessagePacket(CChar * schar) {
	this->type = 0xCA;
	this->size = 0x4A;

	memset(data, 0, sizeof(data));

	memcpy(data+0x80-0x04, &schar->m_name, 16);
	memcpy(data+0x90-0x04, &schar->m_currentTitle, 2);

}
	
CBazaarMessagePacket::~CBazaarMessagePacket(){

}
